package com.itheima.genericity_demo.genericity_class;

public class Student<N, A> {
    private N name;
    private A age;

    public Student() {
    }

    public Student(N name, A age) {
        this.name = name;
        this.age = age;
    }

    public N getName() {
        return name;
    }

    public void setName(N name) {
        this.name = name;
    }

    public A getAge() {
        return age;
    }

    public void setAge(A age) {
        this.age = age;
    }
}
